#ifndef __TASK_WORK_IN_51_H__
#define __TASK_WORK_IN_51_H__
#include <logbase.h>
#include <systime.h>

#define taskEnumGet(tname) taskDoId_##tname
#define taskFuncInitGet(tname) taskFuncInit_##tname
#define taskFuncUpGet(tname) taskFuncUp_##tname
#define taskFuncQuitGet(tname) taskFuncQuit_##tname
#define taskIntervalGet(tname) taskIntervalMs_##tname
#define taskLastUpGet(tname) taskLastUpMs_##tname

#define TASK_RUN_MAX_MS 5
#define TASK_USE_INIT_QUIT_FLAG 0

#if TASK_USE_INIT_QUIT_FLAG
void taskMgr51DemoInit();
void taskMgr51DemoQuit();
#endif
void taskMgr51DemoUp();

#endif